<?php
// Date in the past
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache");
header("Pragma: no-cache");
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Karmanta - Bootstrap 3 Responsive Admin Template">
    <meta name="author" content="GeeksLabs">
    <meta name="keyword" content="Karmanta, Dashboard, Admin, Template, Theme, Bootstrap, Responsive, Retina, Minimal">
    <link rel="shortcut icon" href="img/favicon.png">

    <title>Nokengo Panel - Gerenciamento Empresarial</title>

    <?php
        echo $this->Html->meta('icon');

        echo $this->Html->css('admin/bootstrap.min');
        echo $this->Html->css('admin/bootstrap-theme');
        echo $this->Html->css('admin/elegant-icons-style');
        
        
        echo $this->Html->css('../assets/fullcalendar/fullcalendar/bootstrap-fullcalendar');
        echo $this->Html->css('../assets/jquery-easy-pie-chart/jquery.easy-pie-chart');
        echo $this->Html->css('admin/owl.carousel.css');
        
        
        echo $this->Html->css('admin/style');
        echo $this->Html->css('admin/style-responsive');

        echo $this->fetch('meta');
        echo $this->fetch('css');
        echo $this->fetch('script');
    ?>
  </head>

  <body>
  <section id="container" class="">

      <?php echo($this->Element("GeneralHeader"));?>
      <?php echo($this->Element("GeneralMenu"));?>
      
      <!--main content start-->
      <section id="main-content">
          <section class="wrapper">
                <?php echo $this->fetch('content'); ?>
              <!-- page end-->
          </section>
      </section>
      <!--main content end-->
  </section>
  <!-- container section end -->
    <!-- javascripts -->
    <?php
    // Default
        echo $this->Html->script('admin/jquery');
        echo $this->Html->script('admin/bootstrap.min');
        echo $this->Html->script('admin/jquery.scrollTo.min');
        echo $this->Html->script('admin/jquery.nicescroll');
        
    // Isolate
        echo $this->Html->script('admin/jquery-ui-1.9.2.custom.min');
        echo $this->Html->script('admin/ga');
        echo $this->Html->script('admin/bootstrap-switch');
        echo $this->Html->script('admin/jquery.tagsinput');
        
        echo $this->Html->script('../assets/bootstrap-colorpicker/js/bootstrap-colorpicker');
        
        echo $this->Html->script('../assets/bootstrap-colorpicker/js/bootstrap-datepicker');
        echo $this->Html->script('../assets/bootstrap-colorpicker/date');
        echo $this->Html->script('../assets/bootstrap-colorpicker/daterangepicker');
        
        
        echo $this->Html->script('../assets/jquery-knob/js/jquery.knob');
        echo $this->Html->script('admin/jquery.sparkline');
        echo $this->Html->script('../assets/jquery-easy-pie-chart/jquery.easy-pie-chart');
        echo $this->Html->script('admin/owl.carousel');
        
        echo $this->Html->script('admin/sparkline-chart');
        echo $this->Html->script('admin/easy-pie-chart');
        
        echo $this->Html->script('admin/jquery.hotkeys');
        echo $this->Html->script('admin/bootstrap-wysiwyg');
        echo $this->Html->script('admin/bootstrap-wysiwyg-custom');
        
        echo $this->Html->script('../assets/ckeditor/ckeditor');
        
        echo $this->Html->script('admin/form-component');
        
    // Final
        echo $this->Html->script('admin/scripts');
    ?>
    <script>

      //knob
      $(function() {
        $(".knob").knob({
          'draw' : function () { 
            $(this.i).val(this.cv + '%')
          }
        })
      });

      //carousel
      $(document).ready(function() {
          $("#owl-slider").owlCarousel({
              navigation : true,
              slideSpeed : 300,
              paginationSpeed : 400,
              singleItem : true

          });
      });

      //custom select box

      $(function(){
          $('select.styled').customSelect();
      });

  </script>
<!-- charts scripts -->
  </body>
</html>
